-- GENERATED SPELL FOR [Vaelastrasz the Red] --


function spell0_10340(pUnit, Event) --@Touch of Vaelastrasz,Heal--
pUnit:FullCastSpellOnTarget(16319,pUnit)
pUnit:RegisterEvent('Sorts_10340', 547, 1)
end

function Sorts_10340(pUnit, Event)
local choix_sorts_10340 = math.random(0, 0)
if choix_sorts_10340 == 0 then
pUnit:RegisterEvent('spell0_10340', 1, 1)
end
end

function mob10340_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10340', math.random(1500, 3000), 1)
end

function mob10340_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10340_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10340_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10340, 1, 'mob10340_Action')
RegisterUnitEvent(10340, 2, 'mob10340_Leave')
RegisterUnitEvent(10340, 3, 'mob10340_Kill')
RegisterUnitEvent(10340, 4, 'mob10340_Die')
